/*
 * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @Date: 2025-10-28 11:38:52
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2025-10-28 13:39:54
 * @FilePath: \my-echarts\src\router.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import VueRouter from "vue-router";

import Echart from "./views/echart.vue";
import List from "./views/list.vue";
import ChinaMap from "./views/chinaMap.vue";

const routes = [
  {
    path: "/",
    redirect: "/map",
  },
  { path: "/map", component: ChinaMap },
  { path: "/echart", component: Echart },
  { path: "/list", component: List },
];

export const router = new VueRouter({
  // mode: "history",
  routes,
});
